﻿using ContractWebApi.BtbContractEnum;

namespace ContractWebApi.Models
{
    /// <summary>
    /// 电子合同
    /// </summary>
    public class BtbContractNoticeDto
    {
        /// <summary>
        /// 回调目标业务方的appCode
        /// </summary>
        public string AppCode { get; set; }

        /// <summary>
        /// 回调事件类型
        /// <see cref="NoticeEventTypeEnum"/>
        /// </summary>
        public NoticeEventTypeEnum EventType { get; set; }

        /// <summary>
        /// 回调事件类型描述
        /// </summary>
        public string EventTypeName { get; set; }

        /// <summary>
        /// 回调时间戳	
        /// </summary>
        public long Timestamp { get; set; }

        /// <summary>
        /// 回调消息体，具体参考不同回调事件的消息体内容		
        /// </summary>
        public object Data { get; set; }

        /// <summary>
        ///	回调logId
        /// </summary>
        public string LogId { get; set; }
    }
}